package com.wj.dubbo.service.crawler.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;

/**
 * <p>
 * 社保汇总列表细项
 * </p>
 *
 * @author lee
 * @since 2017-04-28
 */
@Data
@TableName("om_crawler_social_summary_item")
public class CrawlerSocialSummaryItem extends Model<CrawlerSocialSummaryItem> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
	private String id;
    /**
     * om_crawler_social_summary表ID
     */
	@TableField("summary_id")
	private String summaryId;
    /**
     * 缴纳项目类型
     */
	@TableField("pay_item_type")
	private String payItemType;
    /**
     * 缴纳项目
     */
	@TableField("pay_item")
	private String payItem;
    /**
     * 个人缴纳
     */
	@TableField("per_amount")
	private BigDecimal perAmount;
    /**
     * 公司缴纳
     */
	@TableField("com_amount")
	private BigDecimal comAmount;
    /**
     * 缴纳基数
     */
	@TableField("pay_base")
	private BigDecimal payBase;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
	
	@TableField(exist=false)
	private String companyName;

	@TableField(exist=false)
	private String payTime;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("CrawlerSocialSummaryItem [id=");
		builder.append(id);
		builder.append(", summaryId=");
		builder.append(summaryId);
		builder.append(", payItemType=");
		builder.append(payItemType);
		builder.append(", payItem=");
		builder.append(payItem);
		builder.append(", perAmount=");
		builder.append(perAmount);
		builder.append(", comAmount=");
		builder.append(comAmount);
		builder.append(", payBase=");
		builder.append(payBase);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", companyName=");
		builder.append(companyName);
		builder.append(", payTime=");
		builder.append(payTime);
		builder.append("]");
		return builder.toString();
	}
	

}
